package com.ysy.logistics.entities.system.vo;

import com.ysy.logistics.entities.system.Meta;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * @ClassDescription:
 * @Author:姚斯羽
 * @Create:2025/3/14 14:24
 **/
@Data
@Schema(name = "menu", description = "菜单实体类")
@Builder
public class MenuVO {
    @Schema(description = "菜单id")
    private Integer id;
    @Schema(description = "菜单名")
    private String name;
    @Schema(description = "菜单路径")
    private String path;
    @Schema(description = "组件对象")
    private String component;
    @Schema(description = "重定向地址")
    private String redirect;
    @Schema(description = "父菜单id")
    private Integer parentId;
    private Meta meta;


    private List<MenuVO> children;


}
